package com.guangzi.mapper;

import com.guangzi.common.Pager;
import com.guangzi.entity.Dynamic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DynamicDao extends BaseDao {
    @Override
    List<Object> listPagerCriteria(@Param("pager") Pager pager, @Param("query") Object obj);

    @Override
    Long countCriteria(@Param("query") Object obj);

    List<Object> listPager(@Param("pager")Pager pager);
    void updateStatus(Dynamic dynamic);
    List<Dynamic> findAll();
}
